package com.sn.pw.vo.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class LoginReq {
    @ApiModelProperty("账号")
    @NotBlank(message = "登陆账号不能为空")
    private String userName;

    @ApiModelProperty("密码")
    @NotBlank(message = "登陆密码不能为空")
    private String password;
}
